<template>
  <div id="app">
    <div class="header">
      <router-view></router-view>
    </div>
    <footer>
    <router-view name="footer"></router-view>
    </footer>
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
  html, body, #app {
    height: 100%;

  }

  #app {
    display: flex;
    flex-direction: column;

    header {
      flex: 1;
        padding-bottom: 100px;
        padding-top: 100px;

    }
    footer{
      position: fixed;
      bottom: 0%;
      width: 100%;
      background-color: #fff;
    }
  }
</style>
